﻿@{
    ViewBag.Title = "EditCourse";
    Layout = null;
}

@model UcAsp.Net.Model.Course

<div>
    <input name="ID" type="hidden" name="ID" value="@Model.ID" />
    <p>
        <label>
            姓名</label>
          
        <input class="text-input large-input" type="text" name="TrueName" value="@Model.TrueName"  />
    </p>
    <p>
        <label>
            手机</label>
        <input class="text-input large-input" type="text" name="Mobile" value="@Model.Mobile" />
    </p>
    <p>
        <label>
            活动名称</label>
        <input class="text-input large-input" type="text" name="MyCourse" value="@Model.MyCourse" />
    </p>
    <p>
        <span class="btn save" >保存</span>
    </p>
 </div>
 <script>
     $(document).ready(function () {
         $(".save").click(function () {
             $.post("/Admin/CourseSave", { ID: $("input[name='ID']").val(), ParamName: $("input[name='ParamName']").val(), ParamValue: $("input[name='ParamValue']").val() }, function (dataResult) {
                 location.reload();
             });
         })
     })
 </script>
